<!DOCTYPE html>
<html>
	<html lang="en" xmlns:th="http://www.thymeleaf.org">
		<head>
			<meta charset="utf-8">
			<title>出库办理</title>

			<script type="text/javascript" src="http://localhost:10000/js/jquery-1.11.3.min.js"></script>
			<script type="text/javascript" src="http://localhost:10000/js/chuku/chuku.js"></script>
			<script type="text/javascript" src="http://localhost:10000/js/time1.js"></script>

			<link type="text/css" href="http://localhost:10000/css/chuku.css" rel="stylesheet">

		</head>
		<body>
			出库管理>>出库办理
			<hr>
			<div id="d1"
				style="border: solid 1px; background-color:#1244c4;  position: absolute;margin-left: 78px;margin-top:23px "
				hidden>
				<table>
					<tr style="border: solid 1px;background-color: #517292">
						<th style="width: 100px">客户ID</th>
						<th style="width: 100px">客户名称</th>
						<th style="width: 100px">客户手机</th>
						<th style="width: 100px">客户电话</th>
					</tr>
				</table>
				<table id="t1" style="text-align: center;background-color: #ffffff;">

				</table>
			</div>
			<div class="table" style="color: #505ca0;">
				<form action="http://localhost:10000/chuku/inChuKu.do">
					<table border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td>货&nbsp;&nbsp;&nbsp;&nbsp;主:</td>
							<td colspan="3">
								<input type="text" id="i1" />
								<input type="hidden" id="i2" name="customerID">
							</td>
						</tr>
						<tr>
							<td>出库单号:&nbsp;&nbsp;</td>
							<td style="width: 100px">
								<input type="text" name="billID" th:value="${session.chuKuId} ">
							</td>
							<td>&nbsp;办理日期:&nbsp;</td>
							<td>
								<input id="time" disabled>
								<input type="hidden" id="time1" name="billDate">
							</td>
						</tr>
					</table>
					<hr>
					<table border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td>出库货物明细</td>
							<td colspan="5"></td>
						</tr>
						<tr>

							<td>
								托盘编号
								<input type="hidden" id="trayID" name="trayID">
							</td>

							<td>
								货物名称
								<input type="hidden" id="Name" name="detailsGoodsName">
							</td>

							<td>
								规格(公斤/件)
								<input type="hidden" id="Spec" name="detailsGoodsSpec">
							</td>

							<td>
								现存件数
								<input type="hidden" id="currentGoodsNum" name="currentGoodsNum">
							</td>

							<td>
								提货件数
								<input type="hidden" id="detailsGoodsNum" name="detailsGoodsNum">
							</td>

							<td>
								出库重量
								<input type="hidden" id="weight" name="weight">
							</td>

						</tr>

						<tbody id="tbody1" style="color: #303030">

                        </tbody>


						<tr>
							<td colspan="6">
								托盘个数:&nbsp;&nbsp;<font id="fbillNum"></font>
								<input type="hidden" id="billNum" name="billNum">
								总重量&nbsp;(公斤)&nbsp;:<font id="fToWei">
									<input type="hidden" id="toWei" name="toWei">
								</font>
							</td>
						</tr>
						<tr>
							<td colspan="6">备注</td>
						</tr>
						<tr>
							<td colspan="6"><textarea name="billNote" cols="30" rows="3"></textarea></td>
						</tr>
						<tr>
							<td>费用结算:</td>
							<td colspan="6"></td>
						</tr>
						<tr>
							<td colspan="6">
								库存费用&nbsp;:&nbsp;
								<input type="text" id="billFeeStore" name="billFeeStore" value="0" />元&nbsp;&nbsp;&nbsp;&nbsp;
								其他费用&nbsp;:&nbsp;
								<input type="text" id="billFeeOther" name="billFeeOther" value="0" />元<br>
								合计应收&nbsp;:&nbsp;
								<input type="text" name="billFeeTotal" id="billFeeTotal" value="0" disabled />元&nbsp;&nbsp;&nbsp;&nbsp;
								合计实收&nbsp;:&nbsp;
								<input type="text" name="billPaid" value="0" />元
							</td>
						</tr>
						<tr>
							<td colspan="6">
								<input type="submit" value="结算费用" id="submit"  th:disabled="${buttonState}!=null">
								<input type="reset" value="重置">
							</td>
						</tr>
					</table>
				</form>

			</div>
		</body>
	</html>
